
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QWidget>

QT_BEGIN_NAMESPACE
class QTimer;
QT_END_NAMESPACE
namespace Ui {
    class MainWindow;
}
class MainWindow : public QWidget
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

signals:
    void changeSize(QSize size);

private:
    void resizeEvent(QResizeEvent *event) override;

    Ui::MainWindow *ui;
    bool resizeing;
    QTimer *timer;
};

#endif // MAINWINDOW_H

